#ifndef SHOVEL_H
#define SHOVEL_H
#include "cocos2d.h"
#include "Plant/PlantBase.h"
#include <string>
#include"Scene/GameScene.h"
using namespace cocos2d;

class Shovel : public Sprite{
public:
	Shovel();
	~Shovel() = default;
	void sprite_init(const Vec2& position_);// 精灵初始化
	bool judge_used();//是否使用
	void set_is_used();
	void init_shovel_move_animation();
	Sprite* sprite; //固定精灵
	MoveTo* shovel_move_animate; // 铲子复位动画
	Vec2 position;
	bool is_shovel_used;
};


#endif // !SHOVEL_H